package cc.linker.steplink.crm.merchanth5.dao;

import cc.linker.steplink.crm.merchanth5.pojo.TreatyPo;

import java.util.List;
import java.util.Map;

/**
 * 平台协议
 * @author huhj
 */
public interface TreatyDao {


    /**
     * 获取列表
     * @param treatyPo
     * @return
     */
    List<TreatyPo> getList(TreatyPo treatyPo);

    void addTreaty(TreatyPo treatyPo);

    void edit(TreatyPo treatyPo);

    TreatyPo getTreatyInfo(TreatyPo treatyPo);

    Map<String, Object> getReadRecord(Map<String, Object> param);

    void addReadRecord(Map<String, Object> param);
}
